# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=upmpdcli
pkgver=1.4.7
pkgrel=0
pkgdesc="upmpdcli is a UPnP Media Renderer front-end for MPD, the Music Player Daemon"
url="http://www.lesbonscomptes.com/upmpdcli"
arch="all !armhf !armv7"
license="LGPL-2.1-or-later"
options="!check"
makedepends="libupnpp-dev libmpdclient-dev libmicrohttpd-dev jsoncpp-dev"
subpackages="$pkgname-doc"
source="upmpdcli-$pkgver.tar.gz::http://www.lesbonscomptes.com/upmpdcli/downloads/upmpdcli-$pkgver.tar.gz"

build() {
	./configure --prefix=/usr --sysconfdir=/etc
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="752870518415f8825f9c1a389397c4fa4c923f219039378e024091a38d3df3b3c2f1c5e944b50dfd2c2b98f8e91282ca2a6ab70ca298295b26e64e6992833e56  upmpdcli-1.4.7.tar.gz"
